package cn.hxzy.kaoshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 考试成绩记录表
 * </p>
 *
 * @author tyqw
 * @since 2024-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysExamResults implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "exam_results_id", type = IdType.AUTO)
    private Long examResultsId;

    /**
     * 学生ID
     */
    private Long studentId;

    /**
     * 试卷id
     */
    private Long examinationId;

    /**
     * 用户答题内容
     */
    private String content;

    /**
     * 考试分数
     */
    private String scor;

    /**
     * 考试开始时间
     */
    private LocalDateTime startExamTime;

    /**
     * 提交时间
     */
    private LocalDateTime submitTime;

    /**
     * 考试用时
     */
    private String duration;

    private String examId;
}
